﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Extentions;

namespace TrainingReminderSystem.Model
{
    /// <summary>
    /// 店铺;店铺的数据,有Filter的
    /// </summary>
    [ExLanguageKey("SysStore")]
    public partial class SysStoreExPart
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        [ExLanguageKey("SysStoreID")]
        [Key]
        public int? SysStoreID { get; set; }

        /// <summary>
        /// 店铺类型;主门店=0,子门店=1,外部加盟门店=2;
        ///    主门店能看到所有子门店的数据,子门店只能看自己的,连锁也是
        /// </summary>
        [ExLanguageKey("EnumSysStoreType")]
        public EnumSysStoreType? EnumSysStoreType { get; set; }

        /// <summary>
        /// 店铺名称
        /// </summary>
        [ExLanguageKey("SysStoreName")]
        public string SysStoreName { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        [ExLanguageKey("PhoneNumber")]
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 状态;禁用=0,启用=1
        /// </summary>
        [ExLanguageKey("EnumStatus")]
        public EnumStatus? EnumStatus { get; set; }
    }
}
